package com.anyou.mall.fin.service;

import java.util.List;

import com.anyou.common.core.domain.ApiResult;
import com.anyou.mall.fin.domain.StoreWithdrawalAduit;
import com.anyou.mall.fin.param.CertParam;
import com.anyou.mall.fin.param.IsPassParam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 商家提现Service接口
 *
 * @author gaochaohao
 * @date 2022-04-19
 */
public interface IStoreWithdrawalAduitService extends IService<StoreWithdrawalAduit>
{
    /**
     * 查询商家提现
     *
     * @param storeWithdrawalAduitId 商家提现主键
     * @return 商家提现
     */
    public StoreWithdrawalAduit selectStoreWithdrawalAduitByStoreWithdrawalAduitId(Long storeWithdrawalAduitId);

    /**
     * 查询商家提现列表
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 商家提现集合
     */
    public List<StoreWithdrawalAduit> selectStoreWithdrawalAduitList(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 新增商家提现
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 结果
     */
    public boolean insertStoreWithdrawalAduit(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 修改商家提现
     *
     * @param storeWithdrawalAduit 商家提现
     * @return 结果
     */
    public int updateStoreWithdrawalAduit(StoreWithdrawalAduit storeWithdrawalAduit);

    /**
     * 批量删除商家提现
     *
     * @param storeWithdrawalAduitIds 需要删除的商家提现主键集合
     * @return 结果
     */
    public int deleteStoreWithdrawalAduitByStoreWithdrawalAduitIds(Long[] storeWithdrawalAduitIds);

    /**
     * 删除商家提现信息
     *
     * @param storeWithdrawalAduitId 商家提现主键
     * @return 结果
     */
    public int deleteStoreWithdrawalAduitByStoreWithdrawalAduitId(Long storeWithdrawalAduitId);

    /**
     * 是否通过提现申请
     * @param isPassParam
     * @return
     */
    ApiResult isPass(IsPassParam isPassParam);

    /**
     * 提交转账凭证
     * @param param
     * @return
     */
    ApiResult editCert(CertParam param);
}
